package com.liaowei.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liaowei.auth.model.vo.UserVO;
import com.liaowei.model.domain.User;
import com.liaowei.model.param.LoginUserParam;

import java.util.List;

/**
* @author LindaMan
* @description 针对表【wy_user(用户表)】的数据库操作Service
* @createDate 2023-05-03 13:27:55
*/
public interface UserService extends IService<User> {

    // 用户登录认证
    UserVO login(LoginUserParam loginUserParam);

    // 查询用户角色名称
    List<String> roleNameList(Long userId);

    // 查询用户权限名称
    List<String> permissionNameList(Long userId);
}
